body{background:url(../images/header1.png) repeat-x #fff;font-family:"lucida grande",tahoma,verdana,arial,sans-serif;font-size:11px;margin:0px;padding:0px;color:#000;text-align:left;direction:ltr;unicode-bidi:embed;}
ol, ul{margin:0px;}
div{font-size:11px;}
li a{font-size:11px;}
input.text, input.password {padding:0px;}

div#body_wrapper{width:800px;margin:0px auto;padding:0px;height:100px;}

div#top_nav ul{margin:0px 10px 0px 0px;padding:0px;list-style:none;float:right;height:30px;line-height:30px;}
div#top_nav ul li{float:left;margin:0px;padding:0px;color:#fff;font-size:12px;font-weight:bold;height:30px;line-height:30px;display:block;}
div#top_nav ul li a{color:#fff5f5;text-decoration:none;display:block;text-decoration:none;padding:0 10px;} 
div#top_nav ul li a:hover, ul#top_nav li a:active, ul#top_nav li a:link{color:#ae0000;text-decoration:none;background:#fff5f5;}
div#top_nav span{float:left;line-height:30px;font-size:12px;color:#fff;}
div#top_nav span a, div#top_nav span a:active, div#top_nav span a:hover, div#top_nav span a:link{text-decoration:underline;font-weight:bold;color:#fff;background:none;}

div#banner{clear:both;height:90px;}
div#title{float:left;position:relative;left:40px;top:15px;font-weight:bold;}
div#title span#main {display:block;font-size:25px;line-height:30px;color:#ae0000;}
div#title span#sub {display:block;font-size:15px;line-height:25px;color:#ce0000;}
div#logo img{border:none;width:70px;height:70px;float:left;position:relative;top:10px;left:30px;}
div#logo a, div#logo a:hover, div#logo a:active, div#logo a:link{border:none;text-decoration:none;color:#ae0000;background:none;}

div#main_one_column{width:795px;border:2px solid #ffcaca;background:#fff;min-height:500px;margin-bottom:10px;}
div#main_two_column{width:800px;border:none;background:none;min-height:500px;margin-bottom:10px;}
div#main_left_column{width:580px;border:2px solid #ffcaca;min-height:500px;background:#fff;float:left;margin-bottom:10px;}
div#main_right_column{width:200px;border:2px solid #ae0000;float:right;background:#fff;padding:0px 0px 5px 0px;}

div#main_right_column div.sidebar_block{width:190px;border-bottom:1px solid #ae0000;margin:15px auto 5px auto;}
div.sidebar_block h2{margin:5px auto 0px auto;border-bottom:2px solid #ae0000;border-right:2px solid #ae0000;text-align:right;color:#ae0000;padding-right:5px;}
div.sidebar_block ul {margin:0px 0px 0px 0px;padding:0px;list-style:none;}
div.sidebar_block ul li {border-bottom:1px solid #ffcaca;border-right:1px solid #ffcaca;padding:0px 0px 0px 0px;background:#fff5f5;text-align:right;height:20px;}
div.sidebar_block ul li a {text-decoration:none;font-weight:bold;display:block;vertical-align:middle;line-height:20px;color:#ae0000;padding-right:10px;}
div.sidebar_block ul li:hover a {padding-right:15px;background:#ffe9e9;}
div.sidebar_block ul li a:hover, div.sidebar_block ul li a:active, div.sidebar_block ul li a:link {text-decoration:none;}

div#footer{clear:both;border:1px solid #4e0000;height:25px;background:#ae0000;font-size:11px;font-weight:bold;color:#fff;}
div#footer_left{float:left;height:24px;font-weight:normal;line-height:24px;margin-left:5px;}
div#footer_right{float:right;height:24px;display:block;line-height:24px;margin-right:5px;}

form span.error {display:block;font-weight:bold;color:#ae0000;background:yellow;text-align:right;}

/* Notification */
div#notification {width:500px;border:2px solid #ffcaca;margin:auto;}
div#notification h1 {font-size:14px;border:1px solid #4e0000;background:#ae0000;font-weight:bold;color:#fff;text-align:left;padding:2px;margin:0px 0px 5px 0px;}
div#notification h2 {font-size:12px;margin:4px 20px 4px 20px;text-align: center;}
div#notification h3 {font-size:11px;margin:4px 25px 4px 25px;text-align: center;}
/* Form login */
form#form_login{}
form#form_login fieldset{margin:15px auto 15px auto;border:2px solid #ffcaca;width:300px;}
form#form_login fieldset legend {font-size:13px;font-weight:bold;color:#ae0000;}
form#form_login table {margin:auto;width:95%;}
form#form_login div.notice {border:1px solid #4e0000;background:#ae0000;font-size:12px;font-weight:bold;color:#fff;text-align:center;padding:2px;margin:0px 0px 5px 0px;}

/* Table */
table.list{background:#4e0000;margin:0px auto 0px auto;}
table.list tr{background:#4e0000;cursor:pointer;}
table.list th{background:#ae0000;color:#fff;padding:4px 2px 4px 2px;font-size:13px;font-weight:bold;margin:1px;}
table.list td{padding:1px 4px 1px 4px;vertical-align:top;clear:both;vertical-align:middle;height:21px;}
table.list tr.odd td {background:#ffe7e7;}
table.list tr.even td {background:#ffd7d7;}
table.list tr.empty td {background:#ffc7c7;text-align:center;padding:4px 0px 4px 0px;}
table.list tr.links td {background:#ffc7c7;text-align:left}
table.list tr.links td a {text-decoration:underline;}
table.list tr:hover td {background:#ffb0b0;}
table.list td a, table.list td a:hover, table.list td a:link, table.list td a:active {text-decoration:underline;color:#000;background:none;}
table.list td a:hover {text-decoration:underline;}
table.list button {font-size:11px;}
table.list tr.links td.pagination {text-align:center; padding:0px;height:0px;max-height:21px;}
table.list tr.links td.pagination p.pagination{margin:2px 0px 2px 0px;}
table.list th.check {width:10px;}
table.list tr.links div.pagination{float:right;}

table.columnar {border:1px solid #4e0000;background:#4e0000;margin:auto;clear:both;}
table.columnar td{padding:1px 4px 1px 4px;vertical-align:top;height:21px;padding-top:5px;}
table.columnar td.name {background:#ae0000;color:#fff;padding:0px 2px 0px 2px;font-size:13px;font-weight:bold;margin:1px;padding:5px;}
table.columnar td.value {background:#ffd7d7;padding:4px;cursor:pointer;}
table.columnar td.value:hover {background:#ffb0b0;}
table.columnar tr.links td {background:#ffc7c7;text-align:left;text-align:right;}
table.columnar tr.links td a {text-decoration:underline;}
table.columnar button {font-size:11px;}

table.columnar2 {}
table.columnar2 td{padding:1px 4px 1px 4px;vertical-align:top;height:21px;padding-top:5px;}
table.columnar2 td.name {min-width:150px;color:#ae0000;padding:0px 2px 0px 2px;font-size:13px;font-weight:bold;margin:1px;padding:5px;}
table.columnar2 td.name label {color:#ae0000;}
table.columnar2 td.value {}
table.columnar2 td.value:hover {}
table.columnar2 tr.links td {background:#ffc7c7;text-align:left;text-align:right;}
table.columnar2 tr.links td a {text-decoration:underline;}
table.columnar2 button {font-size:11px;}


table.main {margin:5px 15px 5px 15px;max-width:480px;clear:both;}

table#configuration_form td.name {width:150px;}
h1.title {margin:0px 0px 10px 0px;color:#ae0000;border-bottom:1px solid #ae0000;font-weight:bold;font-size:23px;}

/* Divs */
div.main {margin:15px 15px 0px 15px;}
div.main h1.title {font-size:18px;clear:both;}
div.main table {width:90%;}
div.main div.subtitle {}
div.main div.links {margin:10px 0px 10px 0px;font-size:11px;display:block;clear:both;}
div.main div.links {margin:10px 0px 30px 0px;font-size:11px;display:block;clear:both;}
div.main div.links ul{margin:0px 10px 0px 0px;padding:0px;list-style:none;float:left;height:30px;line-height:15px;}
div.main div.links ul li{float:left;margin:0px;padding:0px;color:#fff;font-size:11px;font-weight:bold;height:15px;line-height:15px;display:block;}
div.main div.links ul li a{color:#ae0000;text-decoration:none;display:block;text-decoration:none;padding:0 10px;} 
div.main div.links ul li a:hover, div.main div.links li a:active, div.main div.links li a:link{color:#ae0000;text-decoration:underline;background:#fff;}
div.main h2 {clear:both;}
div.main div.description {clear:both;}

div.notice {border:1px solid #4e0000;background:#ae0000;font-size:12px;font-weight:bold;color:#fff;text-align:center;padding:2px;margin:0px 0px 5px 0px;display:block;}
div.notice a, div.notice a:link, div.notice a:hover, div.notice:active {text-decoration:underline;}

div.softnotice {border:1px solid #ffcaca;color:#6c0000;margin:15px 15px 0px 15px;padding:15px;background:#ffe7e7;}
div.softnotice a, div.softnotice a:link, div.softnotice a:hover, div.softnotice a:active{text-decoration:none;background:none;color:#6c0000;}
div.softnotice a:hover {text-decoration:underline;}

div#contest h1#title {}
div#contest span#owner {margin:0px 0px 5px 0px;}
div#contest div#time {}
div#contest div#description {margin:5px 5px 5px 10px;font-size: 12px;}
div#contest span#links {display:block;font-size:15px;}

div#message_compose {}
div#message_compose table {width:530px;border:1px solid #ffcaca;margin:auto;float:left;}
div#message_compose td{background:#ffffff; padding:5px;}
div#message_compose td.field_name {width: 100px;}
div#message_compose input {margin:5px;}
div#message_compose textarea {margin:5px;width : 400px;}
div#message_compose label {font-size:12px;font-weight :bold;}

div#message_read {}
div#message_read table {width:530px;border:1px solid #ffcaca;margin:auto;float:left;}
div#message_read td{background:#ffffff; padding:5px;}
div#message_read td.field_name {width: 100px;}
div#message_read input {margin:5px;}
div#message_read label {font-size:12px;font-weight :bold;}
div#message_read div.content {margin:20px;}

div#message_inbox tr.unread td {background:#ffc7c7;}
div#message_inbox tr#action td {background:#fff;}
div#message_inbox td.subject a {text-decoration:underline;}

div#message_outbox tr.unread td {background:#ffc7c7;}
div#message_outbox tr#action td {background:#fff;}
div#message_outbox td.subject a {text-decoration:underline;}

table.two_column_select {border:1px solid #4e0000;background:#4e0000;margin:5px 10px 5px 15px;}
table.two_column_select th{background:#ae0000;color:#fff;padding:5px 5px 5px 5px;font-size:13px;font-weight:bold;margin:1px;}
table.two_column_select td {background:#ffe7e7;padding:5px 5px 5px 5px;width:50%;}
table.two_column_select select {width:95%;}

div.links {line-height:20px;margin:0px 10px 5px 0px;}
div.links a {font-size : 15px;}
label.error {display:block;color:red;}

table.clarificationcontainer {margin-left:20px;}
table.clarification {border:1px solid #4e0000; width:100%;}
table.clarification td.num {vertical-align:top;}
table.clarification td.subject {background:#ae0000;color:#fff;font-weight:bold;font-size:14px;padding:3px;}
table.clarification tr.question {background:#ffe7e7;}
table.clarification td.qname, table.clarification td.aname {font-weight:bold;text-decoration:underline;}
table.clarification tr.answer {background:#ffd7d7;}
table.clarification td.num {background:#ffd7d7;}
table.clarification tr.links {background:#ffc7c7;}
table.clarification td.qcontent, table.clarification td.acontent {padding:5px 5px 5px 15px;}
div#clarification_list div.message {margin-left:15px; font-weight: bold; font-style:italic;}

div#contest_news div.post {margin-left :15px;}
div#contest_news div.post h1.title {color:black;font-size:16px;border:none;margin:0px;}
div#contest_news div.post div.content {margin:10px 5px 5px 5px;}

div#main_news div.post {margin-left :15px;}
div#main_news div.post h1.title {color:black;font-size:16px;border:none;margin:0px;}
div#main_news div.post div.content {margin:10px 5px 5px 5px;}

table.register {max-width:400px;margin:5px auto 5px auto;border:2px solid #bb0000;}
table.register td{padding:6px 0px 6px 0px;vertical-align:top;}
table.register td.name{font-weight:bold;color:#bb0000;padding-left:5px;width:150px;}
table.register td.value{font-weight:normal;color:#000;}
table.register input.text, table.register input.password {padding:0px;}
table.register label.error {display:block;color:red;}

table#contest_problem th.no {width:30px;}

div#single_post{}
div#single_post h2.subtitle{font-size:10px;font-weight:normal;}
div#single_post div.content{font-size:12px;margin:10px;}

div#news div.post {margin: 4px 2px 1px 5px;border-bottom:1px solid #ae0000;}
div#news div.post h1.title {text-decoration:none;border:none;}
div#news div.post h1.title a {text-decoration:none;color:#ae0000;}
div#news div.post h2.subtitle{font-size:10px;font-weight:normal;}
div#news div.post div.content{font-size:12px;margin:10px;}
div#news div.post div.links a{font-size:10px;}
div#news div.post {}

div#post_edit {}
div#post_edit table#form_edit {width: 500px;}
div#post_edit td {padding:0px;margin:0px;}
div#post_edit td.name {padding:5px; width:100px;}
div#post_edit td.value {padding:5px;}
div#post_edit tr.links td {padding:5px;}
div#post_edit input.text {width:430px;margin:10px;}
div#post_edit textarea {width:430px;margin:10px;}
div#post_edit .mceLayout {margin:10px auto 10px auto;}

table#coach_problem_list td {vertical-align:top;padding:3px;}
table#coach_problem_list tr.links td {padding:0px;}
table#coach_problem_list th#title {width:200px;}

input.text {padding:5px;}
textarea.textarea {padding:5px;}

ul.tabNavigation {list-style: none;margin: 0;padding: 0;}
ul.tabNavigation li {display: inline;}
ul.tabNavigation li a {padding: 7px 5px 3px;background-color: #fffff5;color: #ae0000;text-decoration: none;font-weight:bold;font-size:12px;border:1px solid #ae0000;}
ul.tabNavigation li a.selected, ul.tabNavigation li a:hover {background-color: #ae0000;color: #fff;padding-top: 7px;}

ul.tabNavigation li a:focus {outline: 0;}
div.tabs {display:block;padding-top:20px;}
div.tabs > div {padding: 5px;margin-top: 3px;border: 1px solid #ae0000;display:block;color:#000;}
div.tabs > div h2 {margin-top: 0;}
div.tabs div.container {padding: 5px;margin-top: 3px;border: 1px solid #ae0000;display:block;color:#000;}

div#description_tab {padding: 5px;margin-top: 3px;border: 1px solid #ae0000;display:block;color:#000;}
div#description_tab div {width:520px;margin:0px auto 15px auto;}
div#description_tab h3 {margin:5px 3px 3px 3px;}
div#description_tab input#title {width:515px;}
div#description_tab textarea#shortdesc {width:515px;height:50px;}
div#description_tab textarea#description {width:515px;height:300px;}

div#description_tab td{padding:0px;margin:0px;}

table.mceLayout tr {padding:0px;margin:0px;}
table.mceLayout td {padding:0px;margin:0px;}
table.mceLayout span {padding:0px;margin:0px;}
td.mceToolbar td {padding:0px;margin:0px;}

div#evaluators_tab > table {}
div#evaluators_tab > table td {vertical-align:top; padding:3px;}

div#problem_description {padding-top:10px;}
div#problem_description h1.title {text-decoration:none;text-align:center;border:none;}
div#problem_description table.data_table {margin: 3px auto 3px auto;width:200px;}
div#problem_description table.data_table td {padding:3px;}
div#problem_description h3 {margin:3px;}
div#problem_description p {margin:3px 0px 3px 10px;width:90%;padding:5px;}
div#problem_description p > code {margin:3px 0px 3px 20px;border:1px dashed gray;width:100%;padding:5px;background-color:#ddd;}
div#problem_description pre {margin:3px 0px 3px 20px; border:1px dashed gray; width:300px; padding:5px;background-color:#ddd;}

div#redirect {margin-top:15px;}
div.search {float:right;display:block;margin-right:30px;}

div#article_form {padding:10px 5px 10px 5px;}
div#article_form div {width:520px;margin:0px auto 15px auto;}
div#article_form h3 {margin:5px 3px 3px 3px;}
div#article_form input#title {width:515px;}
div#article_form textarea#content {width:515px;height:300px;}

div#contest_description {padding:10px 5px 10px 5px;}
div#contest_description div {width:520px;margin:0px auto 15px auto;}
div#contest_description h3 {margin:5px 3px 3px 3px;}
div#contest_description input#title {width:515px;}
div#contest_description textarea#content {width:515px;height:300px;}

table#batchconfig input {text-align:right;width:50px;}
table#batchconfig td.name {font-weight:bold;color:#bb0000;vertical-align:top;}
table#batchconfig table#testcases input.text {width:50px;}
table#batchconfig table#testcases input.filename {width:90px;}

table#coach_problem_list tbody tr.problem td p {margin:0px; padding:0px;}

pre.source {margin:5px;padding:5px;border:1px solid black;}

div#rank_table_wrapper {border:1px solid black;width:540px;height:600px;margin-bottom:3px;overflow:scroll;}